import request from '@/utils/request'

// 查询主机温湿度
export function listMessages(hostName) {
  return request({
    url: '/manage/druid/messages?hostName='+hostName,
    method: 'get'
  })
}

// 查询最新主机位置
export function listLatestMessages() {
  return request({
    url: '/manage/druid/latest-messages',
    method: 'get'
  })
}
